/*
 * AppException.java
 *
 * Created on June 8, 2007, 2:55 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.atomojo.app;

import org.restlet.data.Status;

/**
 *
 * @author alex
 */
public class AppException extends Exception
{

   Status status;
   /** Creates a new instance of AppException */
   public AppException(Status status,String message)
   {
      super(message);
      this.status = status;
   }
   
   /** Creates a new instance of AppException */
   public AppException(Status status,String message,Throwable cause)
   {
      super(message,cause);
      this.status = status;
   }
   
   public Status getStatus() {
      return status;
   }
   
}
